\hypertarget{class_q_c_p_axis_rect}{}\section{Q\+C\+P\+Axis\+Rect Class Reference}
\label{class_q_c_p_axis_rect}\index{Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}}


Holds multiple axes and arranges them in a rectangular shape.  


Inheritance diagram for Q\+C\+P\+Axis\+Rect\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=5.000000cm]{class_q_c_p_axis_rect}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{class_q_c_p_axis_rect_a60b31dece805462c1b82eea2e69ba042}{Q\+C\+P\+Axis\+Rect}} (\mbox{\hyperlink{class_q_custom_plot}{Q\+Custom\+Plot}} $\ast$parent\+Plot, bool setup\+Default\+Axes=true)
\item 
\mbox{\Hypertarget{class_q_c_p_axis_rect_a572deec9c9a4d5987d5c5f78521991e6}\label{class_q_c_p_axis_rect_a572deec9c9a4d5987d5c5f78521991e6}} 
Q\+Pixmap {\bfseries background} () const
\item 
\mbox{\Hypertarget{class_q_c_p_axis_rect_a059ede9a5fdcafb5cef280cd65fe4f3a}\label{class_q_c_p_axis_rect_a059ede9a5fdcafb5cef280cd65fe4f3a}} 
bool {\bfseries background\+Scaled} () const
\item 
\mbox{\Hypertarget{class_q_c_p_axis_rect_a06b98faf54b5491bff780294e423d3ff}\label{class_q_c_p_axis_rect_a06b98faf54b5491bff780294e423d3ff}} 
Qt\+::\+Aspect\+Ratio\+Mode {\bfseries background\+Scaled\+Mode} () const
\item 
\mbox{\Hypertarget{class_q_c_p_axis_rect_aa3a84c768ad6edd08fd4c5dec176828f}\label{class_q_c_p_axis_rect_aa3a84c768ad6edd08fd4c5dec176828f}} 
Qt\+::\+Orientations {\bfseries range\+Drag} () const
\item 
\mbox{\Hypertarget{class_q_c_p_axis_rect_aa0d8414ef040523f8b2d55f0c0bddbee}\label{class_q_c_p_axis_rect_aa0d8414ef040523f8b2d55f0c0bddbee}} 
Qt\+::\+Orientations {\bfseries range\+Zoom} () const
\item 
\mbox{\hyperlink{class_q_c_p_axis}{Q\+C\+P\+Axis}} $\ast$ \mbox{\hyperlink{class_q_c_p_axis_rect_a6d7c22cfc54fac7a3d6ef80b133a8574}{range\+Drag\+Axis}} (Qt\+::\+Orientation orientation)
\item 
\mbox{\hyperlink{class_q_c_p_axis}{Q\+C\+P\+Axis}} $\ast$ \mbox{\hyperlink{class_q_c_p_axis_rect_a679c63f2b8daccfe6ec5110dce3dd3b6}{range\+Zoom\+Axis}} (Qt\+::\+Orientation orientation)
\item 
double \mbox{\hyperlink{class_q_c_p_axis_rect_ae4e6c4d143aacc88d2d3c56f117c2fe1}{range\+Zoom\+Factor}} (Qt\+::\+Orientation orientation)
\item 
void \mbox{\hyperlink{class_q_c_p_axis_rect_af615ab5e52b8e0a9a0eff415b6559db5}{set\+Background}} (const Q\+Pixmap \&pm)
\item 
void \mbox{\hyperlink{class_q_c_p_axis_rect_ac48a2d5d9b7732e73b86605c69c5e4c1}{set\+Background}} (const Q\+Pixmap \&pm, bool scaled, Qt\+::\+Aspect\+Ratio\+Mode mode=Qt\+::\+Keep\+Aspect\+Ratio\+By\+Expanding)
\item 
void \mbox{\hyperlink{class_q_c_p_axis_rect_a22a22b8668735438dc06f9a55fe46b33}{set\+Background}} (const Q\+Brush \&brush)
\item 
void \mbox{\hyperlink{class_q_c_p_axis_rect_ae6d36c3e0e968ffb991170a018e7b503}{set\+Background\+Scaled}} (bool scaled)
\item 
void \mbox{\hyperlink{class_q_c_p_axis_rect_a5ef77ea829c9de7ba248e473f48f7305}{set\+Background\+Scaled\+Mode}} (Qt\+::\+Aspect\+Ratio\+Mode mode)
\item 
void \mbox{\hyperlink{class_q_c_p_axis_rect_ae6aef2f7211ba6097c925dcd26008418}{set\+Range\+Drag}} (Qt\+::\+Orientations orientations)
\item 
void \mbox{\hyperlink{class_q_c_p_axis_rect_a7960a9d222f1c31d558b064b60f86a31}{set\+Range\+Zoom}} (Qt\+::\+Orientations orientations)
\item 
void \mbox{\hyperlink{class_q_c_p_axis_rect_a648cce336bd99daac4a5ca3e5743775d}{set\+Range\+Drag\+Axes}} (\mbox{\hyperlink{class_q_c_p_axis}{Q\+C\+P\+Axis}} $\ast$horizontal, \mbox{\hyperlink{class_q_c_p_axis}{Q\+C\+P\+Axis}} $\ast$vertical)
\item 
void \mbox{\hyperlink{class_q_c_p_axis_rect_a9442cca2aa358405f39a64d51eca13d2}{set\+Range\+Zoom\+Axes}} (\mbox{\hyperlink{class_q_c_p_axis}{Q\+C\+P\+Axis}} $\ast$horizontal, \mbox{\hyperlink{class_q_c_p_axis}{Q\+C\+P\+Axis}} $\ast$vertical)
\item 
void \mbox{\hyperlink{class_q_c_p_axis_rect_a895d7ac745ea614e04056244b3c138ac}{set\+Range\+Zoom\+Factor}} (double horizontal\+Factor, double vertical\+Factor)
\item 
void \mbox{\hyperlink{class_q_c_p_axis_rect_ae83d187b03fc6fa4f00765ad50cd3fc3}{set\+Range\+Zoom\+Factor}} (double factor)
\item 
int \mbox{\hyperlink{class_q_c_p_axis_rect_a85b321acec0f694d8b5fdeafdbff3133}{axis\+Count}} (\mbox{\hyperlink{class_q_c_p_axis_ae2bcc1728b382f10f064612b368bc18a}{Q\+C\+P\+Axis\+::\+Axis\+Type}} type) const
\item 
\mbox{\hyperlink{class_q_c_p_axis}{Q\+C\+P\+Axis}} $\ast$ \mbox{\hyperlink{class_q_c_p_axis_rect_a583ae4f6d78b601b732183f6cabecbe1}{axis}} (\mbox{\hyperlink{class_q_c_p_axis_ae2bcc1728b382f10f064612b368bc18a}{Q\+C\+P\+Axis\+::\+Axis\+Type}} type, int index=0) const
\item 
Q\+List$<$ \mbox{\hyperlink{class_q_c_p_axis}{Q\+C\+P\+Axis}} $\ast$ $>$ \mbox{\hyperlink{class_q_c_p_axis_rect_a8db4722cb93e9c4a6f0d91150c200867}{axes}} (Q\+C\+P\+Axis\+::\+Axis\+Types types) const
\item 
Q\+List$<$ \mbox{\hyperlink{class_q_c_p_axis}{Q\+C\+P\+Axis}} $\ast$ $>$ \mbox{\hyperlink{class_q_c_p_axis_rect_a11657b8faebe9677180860e8057ede26}{axes}} () const
\item 
\mbox{\hyperlink{class_q_c_p_axis}{Q\+C\+P\+Axis}} $\ast$ \mbox{\hyperlink{class_q_c_p_axis_rect_a2dc336092ccc57d44a46194c8a23e4f4}{add\+Axis}} (\mbox{\hyperlink{class_q_c_p_axis_ae2bcc1728b382f10f064612b368bc18a}{Q\+C\+P\+Axis\+::\+Axis\+Type}} type, \mbox{\hyperlink{class_q_c_p_axis}{Q\+C\+P\+Axis}} $\ast$\mbox{\hyperlink{class_q_c_p_axis_rect_a583ae4f6d78b601b732183f6cabecbe1}{axis}}=0)
\item 
Q\+List$<$ \mbox{\hyperlink{class_q_c_p_axis}{Q\+C\+P\+Axis}} $\ast$ $>$ \mbox{\hyperlink{class_q_c_p_axis_rect_a792e1f3d9cb1591fca135bb0de9b81fc}{add\+Axes}} (Q\+C\+P\+Axis\+::\+Axis\+Types types)
\item 
bool \mbox{\hyperlink{class_q_c_p_axis_rect_a03c39cd9704f0d36fb6cf980cdddcbaa}{remove\+Axis}} (\mbox{\hyperlink{class_q_c_p_axis}{Q\+C\+P\+Axis}} $\ast$\mbox{\hyperlink{class_q_c_p_axis_rect_a583ae4f6d78b601b732183f6cabecbe1}{axis}})
\item 
\mbox{\hyperlink{class_q_c_p_layout_inset}{Q\+C\+P\+Layout\+Inset}} $\ast$ \mbox{\hyperlink{class_q_c_p_axis_rect_a949f803466619924c7018df4b511ae10}{inset\+Layout}} () const
\item 
void \mbox{\hyperlink{class_q_c_p_axis_rect_a5fa906175447b14206954f77fc7f1ef4}{setup\+Full\+Axes\+Box}} (bool connect\+Ranges=false)
\item 
Q\+List$<$ \mbox{\hyperlink{class_q_c_p_abstract_plottable}{Q\+C\+P\+Abstract\+Plottable}} $\ast$ $>$ \mbox{\hyperlink{class_q_c_p_axis_rect_a587d073a97b27bc7293fab4b2774ad59}{plottables}} () const
\item 
Q\+List$<$ \mbox{\hyperlink{class_q_c_p_graph}{Q\+C\+P\+Graph}} $\ast$ $>$ \mbox{\hyperlink{class_q_c_p_axis_rect_a2d9ded3eca97be1fcb5867949391bb88}{graphs}} () const
\item 
Q\+List$<$ \mbox{\hyperlink{class_q_c_p_abstract_item}{Q\+C\+P\+Abstract\+Item}} $\ast$ $>$ \mbox{\hyperlink{class_q_c_p_axis_rect_a03c113a2175448300ee8f944e24776ba}{items}} () const
\item 
int \mbox{\hyperlink{class_q_c_p_axis_rect_afb4a3de02046b20b9310bdb8fca781c3}{left}} () const
\item 
int \mbox{\hyperlink{class_q_c_p_axis_rect_a3f819d4a1b2193723d1fdafc573eea10}{right}} () const
\item 
int \mbox{\hyperlink{class_q_c_p_axis_rect_a45dbad181cbb9f09d068dbb76c817c95}{top}} () const
\item 
int \mbox{\hyperlink{class_q_c_p_axis_rect_acefdf1abaa8a8ab681e906cc2be9581e}{bottom}} () const
\item 
int \mbox{\hyperlink{class_q_c_p_axis_rect_a204645398a4f9d0b0189385c7c2cfb91}{width}} () const
\item 
int \mbox{\hyperlink{class_q_c_p_axis_rect_acc4377809e79d9a089ab790f39429b0d}{height}} () const
\item 
Q\+Size \mbox{\hyperlink{class_q_c_p_axis_rect_a7a8289346eb612f422c704f8b75cf479}{size}} () const
\item 
Q\+Point \mbox{\hyperlink{class_q_c_p_axis_rect_a5a847b3ddeca3abec38d3838fefb0dbd}{top\+Left}} () const
\item 
Q\+Point \mbox{\hyperlink{class_q_c_p_axis_rect_a7aa221967549ba71b98c465bf8234758}{top\+Right}} () const
\item 
Q\+Point \mbox{\hyperlink{class_q_c_p_axis_rect_ab15d4311d6535ccd7af504dc0e2b98c6}{bottom\+Left}} () const
\item 
Q\+Point \mbox{\hyperlink{class_q_c_p_axis_rect_a36dac884ec8fa3a3a2f3842ca7b7d32d}{bottom\+Right}} () const
\item 
Q\+Point \mbox{\hyperlink{class_q_c_p_axis_rect_ade3aef874bafcec6dd16174fba44c0b1}{center}} () const
\item 
virtual void \mbox{\hyperlink{class_q_c_p_axis_rect_a255080a017df9083a60a321ef2ba9ed8}{update}} (\mbox{\hyperlink{class_q_c_p_layout_element_a0d83360e05735735aaf6d7983c56374d}{Update\+Phase}} phase)
\item 
virtual Q\+List$<$ \mbox{\hyperlink{class_q_c_p_layout_element}{Q\+C\+P\+Layout\+Element}} $\ast$ $>$ \mbox{\hyperlink{class_q_c_p_axis_rect_a40c0b3b17eb317ff4d393b7cb9b082a2}{elements}} (bool recursive) const
\end{DoxyCompactItemize}
\subsection*{Protected Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{class_q_c_p_axis_rect_aa954ebda9ddbc74146ab9b47abad277b}\label{class_q_c_p_axis_rect_aa954ebda9ddbc74146ab9b47abad277b}} 
virtual void {\bfseries apply\+Default\+Antialiasing\+Hint} (\mbox{\hyperlink{class_q_c_p_painter}{Q\+C\+P\+Painter}} $\ast$painter) const
\item 
\mbox{\Hypertarget{class_q_c_p_axis_rect_afb1bbbbda8345cd2710d92ee48440b53}\label{class_q_c_p_axis_rect_afb1bbbbda8345cd2710d92ee48440b53}} 
virtual void {\bfseries draw} (\mbox{\hyperlink{class_q_c_p_painter}{Q\+C\+P\+Painter}} $\ast$painter)
\item 
\mbox{\Hypertarget{class_q_c_p_axis_rect_ae79f18302e6507586aa8c032a5f9ed1c}\label{class_q_c_p_axis_rect_ae79f18302e6507586aa8c032a5f9ed1c}} 
virtual int {\bfseries calculate\+Auto\+Margin} (\mbox{\hyperlink{namespace_q_c_p_a7e487e3e2ccb62ab7771065bab7cae54}{Q\+C\+P\+::\+Margin\+Side}} side)
\item 
virtual void \mbox{\hyperlink{class_q_c_p_axis_rect_a77501dbeccdac7256f7979b05077c04e}{mouse\+Press\+Event}} (Q\+Mouse\+Event $\ast$event)
\item 
virtual void \mbox{\hyperlink{class_q_c_p_axis_rect_a4baf3d5dd69166788f6ceda0ea182c6e}{mouse\+Move\+Event}} (Q\+Mouse\+Event $\ast$event)
\item 
virtual void \mbox{\hyperlink{class_q_c_p_axis_rect_adf6c99780cea55ab39459a6eaad3a94a}{mouse\+Release\+Event}} (Q\+Mouse\+Event $\ast$event)
\item 
virtual void \mbox{\hyperlink{class_q_c_p_axis_rect_a5acf41fc30aa68ea263246ecfad85c31}{wheel\+Event}} (Q\+Wheel\+Event $\ast$event)
\item 
\mbox{\Hypertarget{class_q_c_p_axis_rect_ab49d338d1ce74b476fcead5b32cf06dc}\label{class_q_c_p_axis_rect_ab49d338d1ce74b476fcead5b32cf06dc}} 
void {\bfseries draw\+Background} (\mbox{\hyperlink{class_q_c_p_painter}{Q\+C\+P\+Painter}} $\ast$painter)
\item 
\mbox{\Hypertarget{class_q_c_p_axis_rect_a6024ccdc74f5dc0e8a0fe482e5b28a20}\label{class_q_c_p_axis_rect_a6024ccdc74f5dc0e8a0fe482e5b28a20}} 
void {\bfseries update\+Axes\+Offset} (\mbox{\hyperlink{class_q_c_p_axis_ae2bcc1728b382f10f064612b368bc18a}{Q\+C\+P\+Axis\+::\+Axis\+Type}} type)
\end{DoxyCompactItemize}
\subsection*{Protected Attributes}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{class_q_c_p_axis_rect_a5748e1a37f63c428e38b0a7724b46259}\label{class_q_c_p_axis_rect_a5748e1a37f63c428e38b0a7724b46259}} 
Q\+Brush {\bfseries m\+Background\+Brush}
\item 
\mbox{\Hypertarget{class_q_c_p_axis_rect_a38fb1a15f43228a0c124553649303722}\label{class_q_c_p_axis_rect_a38fb1a15f43228a0c124553649303722}} 
Q\+Pixmap {\bfseries m\+Background\+Pixmap}
\item 
\mbox{\Hypertarget{class_q_c_p_axis_rect_aa74b9415598d59b49290e41e42d7ee27}\label{class_q_c_p_axis_rect_aa74b9415598d59b49290e41e42d7ee27}} 
Q\+Pixmap {\bfseries m\+Scaled\+Background\+Pixmap}
\item 
\mbox{\Hypertarget{class_q_c_p_axis_rect_a5ad835f0fae5d7cc5ada9e063641dbf1}\label{class_q_c_p_axis_rect_a5ad835f0fae5d7cc5ada9e063641dbf1}} 
bool {\bfseries m\+Background\+Scaled}
\item 
\mbox{\Hypertarget{class_q_c_p_axis_rect_a859fd368e794663e346b4f53f35078e9}\label{class_q_c_p_axis_rect_a859fd368e794663e346b4f53f35078e9}} 
Qt\+::\+Aspect\+Ratio\+Mode {\bfseries m\+Background\+Scaled\+Mode}
\item 
\mbox{\Hypertarget{class_q_c_p_axis_rect_a255240399e0fd24baad80cbbe46f698a}\label{class_q_c_p_axis_rect_a255240399e0fd24baad80cbbe46f698a}} 
\mbox{\hyperlink{class_q_c_p_layout_inset}{Q\+C\+P\+Layout\+Inset}} $\ast$ {\bfseries m\+Inset\+Layout}
\item 
\mbox{\Hypertarget{class_q_c_p_axis_rect_aa9f107f66ca3469ad50ee6cea7c9e237}\label{class_q_c_p_axis_rect_aa9f107f66ca3469ad50ee6cea7c9e237}} 
Qt\+::\+Orientations {\bfseries m\+Range\+Drag}
\item 
\mbox{\Hypertarget{class_q_c_p_axis_rect_a215eff671d48df2edccc36e7f976f28c}\label{class_q_c_p_axis_rect_a215eff671d48df2edccc36e7f976f28c}} 
Qt\+::\+Orientations {\bfseries m\+Range\+Zoom}
\item 
\mbox{\Hypertarget{class_q_c_p_axis_rect_aeaaa38c6d2030dd5f84461e2596e41e3}\label{class_q_c_p_axis_rect_aeaaa38c6d2030dd5f84461e2596e41e3}} 
Q\+Pointer$<$ \mbox{\hyperlink{class_q_c_p_axis}{Q\+C\+P\+Axis}} $>$ {\bfseries m\+Range\+Drag\+Horz\+Axis}
\item 
\mbox{\Hypertarget{class_q_c_p_axis_rect_a3e41dffec18987366f2a8ffd80689c12}\label{class_q_c_p_axis_rect_a3e41dffec18987366f2a8ffd80689c12}} 
Q\+Pointer$<$ \mbox{\hyperlink{class_q_c_p_axis}{Q\+C\+P\+Axis}} $>$ {\bfseries m\+Range\+Drag\+Vert\+Axis}
\item 
\mbox{\Hypertarget{class_q_c_p_axis_rect_ae22f882bab20518559f3fbb84243d0ab}\label{class_q_c_p_axis_rect_ae22f882bab20518559f3fbb84243d0ab}} 
Q\+Pointer$<$ \mbox{\hyperlink{class_q_c_p_axis}{Q\+C\+P\+Axis}} $>$ {\bfseries m\+Range\+Zoom\+Horz\+Axis}
\item 
\mbox{\Hypertarget{class_q_c_p_axis_rect_a8b9acd16a203a9692bd35a9465f54bc1}\label{class_q_c_p_axis_rect_a8b9acd16a203a9692bd35a9465f54bc1}} 
Q\+Pointer$<$ \mbox{\hyperlink{class_q_c_p_axis}{Q\+C\+P\+Axis}} $>$ {\bfseries m\+Range\+Zoom\+Vert\+Axis}
\item 
\mbox{\Hypertarget{class_q_c_p_axis_rect_ad08d0250ed7b99de387d0ea6c7fd4dc1}\label{class_q_c_p_axis_rect_ad08d0250ed7b99de387d0ea6c7fd4dc1}} 
double {\bfseries m\+Range\+Zoom\+Factor\+Horz}
\item 
\mbox{\Hypertarget{class_q_c_p_axis_rect_a32f063629581d5bf82b12769940b34ad}\label{class_q_c_p_axis_rect_a32f063629581d5bf82b12769940b34ad}} 
double {\bfseries m\+Range\+Zoom\+Factor\+Vert}
\item 
\mbox{\Hypertarget{class_q_c_p_axis_rect_a41936cf473ec638bec382f5a40cdb1f3}\label{class_q_c_p_axis_rect_a41936cf473ec638bec382f5a40cdb1f3}} 
\mbox{\hyperlink{class_q_c_p_range}{Q\+C\+P\+Range}} {\bfseries m\+Drag\+Start\+Horz\+Range}
\item 
\mbox{\Hypertarget{class_q_c_p_axis_rect_a1a5ae4c74b8bd46baf91bf4e4f4165f0}\label{class_q_c_p_axis_rect_a1a5ae4c74b8bd46baf91bf4e4f4165f0}} 
\mbox{\hyperlink{class_q_c_p_range}{Q\+C\+P\+Range}} {\bfseries m\+Drag\+Start\+Vert\+Range}
\item 
\mbox{\Hypertarget{class_q_c_p_axis_rect_aa4a24f76360cfebe1bcf17a77fa7521b}\label{class_q_c_p_axis_rect_aa4a24f76360cfebe1bcf17a77fa7521b}} 
Q\+C\+P\+::\+Antialiased\+Elements {\bfseries m\+A\+A\+Drag\+Backup}
\item 
\mbox{\Hypertarget{class_q_c_p_axis_rect_a6fcb12e052e276d57efbb128be31d6f5}\label{class_q_c_p_axis_rect_a6fcb12e052e276d57efbb128be31d6f5}} 
Q\+C\+P\+::\+Antialiased\+Elements {\bfseries m\+Not\+A\+A\+Drag\+Backup}
\item 
\mbox{\Hypertarget{class_q_c_p_axis_rect_a032896b28f83a58010d8d533b78c49df}\label{class_q_c_p_axis_rect_a032896b28f83a58010d8d533b78c49df}} 
Q\+Point {\bfseries m\+Drag\+Start}
\item 
\mbox{\Hypertarget{class_q_c_p_axis_rect_ab49a6698194cf0e9e38a1d734c0888a8}\label{class_q_c_p_axis_rect_ab49a6698194cf0e9e38a1d734c0888a8}} 
bool {\bfseries m\+Dragging}
\item 
\mbox{\Hypertarget{class_q_c_p_axis_rect_afe7a24d2a2bea98fc552fa826350ba81}\label{class_q_c_p_axis_rect_afe7a24d2a2bea98fc552fa826350ba81}} 
Q\+Hash$<$ \mbox{\hyperlink{class_q_c_p_axis_ae2bcc1728b382f10f064612b368bc18a}{Q\+C\+P\+Axis\+::\+Axis\+Type}}, Q\+List$<$ \mbox{\hyperlink{class_q_c_p_axis}{Q\+C\+P\+Axis}} $\ast$ $>$ $>$ {\bfseries m\+Axes}
\end{DoxyCompactItemize}
\subsection*{Friends}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{class_q_c_p_axis_rect_a1cdf9df76adcfae45261690aa0ca2198}\label{class_q_c_p_axis_rect_a1cdf9df76adcfae45261690aa0ca2198}} 
class {\bfseries Q\+Custom\+Plot}
\end{DoxyCompactItemize}
\subsection*{Additional Inherited Members}


\subsection{Detailed Description}
Holds multiple axes and arranges them in a rectangular shape. 

This class represents an axis rect, a rectangular area that is bounded on all sides with an arbitrary number of axes.

Initially \mbox{\hyperlink{class_q_custom_plot}{Q\+Custom\+Plot}} has one axis rect, accessible via \mbox{\hyperlink{class_q_custom_plot_ae5eefcb5f6ca26689b1fd4f6e25b42f9}{Q\+Custom\+Plot\+::axis\+Rect()}}. However, the layout system allows to have multiple axis rects, e.\+g. arranged in a grid layout (\mbox{\hyperlink{class_q_custom_plot_af1a1f1f571237deb7c2bd34a5e9f018f}{Q\+Custom\+Plot\+::plot\+Layout}}).

By default, \mbox{\hyperlink{class_q_c_p_axis_rect}{Q\+C\+P\+Axis\+Rect}} comes with four axes, at bottom, top, left and right. They can be accessed via \mbox{\hyperlink{class_q_c_p_axis_rect_a583ae4f6d78b601b732183f6cabecbe1}{axis}} by providing the respective axis type (\mbox{\hyperlink{class_q_c_p_axis_ae2bcc1728b382f10f064612b368bc18a}{Q\+C\+P\+Axis\+::\+Axis\+Type}}) and index. If you need all axes in the axis rect, use \mbox{\hyperlink{class_q_c_p_axis_rect_a8db4722cb93e9c4a6f0d91150c200867}{axes}}. The top and right axes are set to be invisible initially (\mbox{\hyperlink{class_q_c_p_layerable_a3bed99ddc396b48ce3ebfdc0418744f8}{Q\+C\+P\+Axis\+::set\+Visible}}). To add more axes to a side, use \mbox{\hyperlink{class_q_c_p_axis_rect_a2dc336092ccc57d44a46194c8a23e4f4}{add\+Axis}} or \mbox{\hyperlink{class_q_c_p_axis_rect_a792e1f3d9cb1591fca135bb0de9b81fc}{add\+Axes}}. To remove an axis, use \mbox{\hyperlink{class_q_c_p_axis_rect_a03c39cd9704f0d36fb6cf980cdddcbaa}{remove\+Axis}}.

The axis rect layerable itself only draws a background pixmap or color, if specified (\mbox{\hyperlink{class_q_c_p_axis_rect_af615ab5e52b8e0a9a0eff415b6559db5}{set\+Background}}). It is placed on the \char`\"{}background\char`\"{} layer initially (see \mbox{\hyperlink{class_q_c_p_layer}{Q\+C\+P\+Layer}} for an explanation of the \mbox{\hyperlink{class_q_custom_plot}{Q\+Custom\+Plot}} layer system). The axes that are held by the axis rect can be placed on other layers, independently of the axis rect.

Every axis rect has a child layout of type \mbox{\hyperlink{class_q_c_p_layout_inset}{Q\+C\+P\+Layout\+Inset}}. It is accessible via \mbox{\hyperlink{class_q_c_p_axis_rect_a949f803466619924c7018df4b511ae10}{inset\+Layout}} and can be used to have other layout elements (or even other layouts with multiple elements) hovering inside the axis rect.

If an axis rect is clicked and dragged, it processes this by moving certain axis ranges. The behaviour can be controlled with \mbox{\hyperlink{class_q_c_p_axis_rect_ae6aef2f7211ba6097c925dcd26008418}{set\+Range\+Drag}} and \mbox{\hyperlink{class_q_c_p_axis_rect_a648cce336bd99daac4a5ca3e5743775d}{set\+Range\+Drag\+Axes}}. If the mouse wheel is scrolled while the cursor is on the axis rect, certain axes are scaled. This is controllable via \mbox{\hyperlink{class_q_c_p_axis_rect_a7960a9d222f1c31d558b064b60f86a31}{set\+Range\+Zoom}}, \mbox{\hyperlink{class_q_c_p_axis_rect_a9442cca2aa358405f39a64d51eca13d2}{set\+Range\+Zoom\+Axes}} and \mbox{\hyperlink{class_q_c_p_axis_rect_a895d7ac745ea614e04056244b3c138ac}{set\+Range\+Zoom\+Factor}}. These interactions are only enabled if \mbox{\hyperlink{class_q_custom_plot_a5ee1e2f6ae27419deca53e75907c27e5}{Q\+Custom\+Plot\+::set\+Interactions}} contains \mbox{\hyperlink{namespace_q_c_p_a2ad6bb6281c7c2d593d4277b44c2b037a2c4432b9aceafb94000be8d1b589ef18}{Q\+C\+P\+::i\+Range\+Drag}} and \mbox{\hyperlink{namespace_q_c_p_a2ad6bb6281c7c2d593d4277b44c2b037abee1e94353525a636aeaf0ba32b72e14}{Q\+C\+P\+::i\+Range\+Zoom}}.

 \begin{center}Overview of the spacings and paddings that define the geometry of an axis. The dashed line on the far left indicates the viewport/widget border.\end{center}  

\subsection{Constructor \& Destructor Documentation}
\mbox{\Hypertarget{class_q_c_p_axis_rect_a60b31dece805462c1b82eea2e69ba042}\label{class_q_c_p_axis_rect_a60b31dece805462c1b82eea2e69ba042}} 
\index{Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}!Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}}
\index{Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}!Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}}
\subsubsection{\texorpdfstring{Q\+C\+P\+Axis\+Rect()}{QCPAxisRect()}}
{\footnotesize\ttfamily Q\+C\+P\+Axis\+Rect\+::\+Q\+C\+P\+Axis\+Rect (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{class_q_custom_plot}{Q\+Custom\+Plot}} $\ast$}]{parent\+Plot,  }\item[{bool}]{setup\+Default\+Axes = {\ttfamily true} }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [explicit]}}

Creates a \mbox{\hyperlink{class_q_c_p_axis_rect}{Q\+C\+P\+Axis\+Rect}} instance and sets default values. An axis is added for each of the four sides, the top and right axes are set invisible initially. 

\subsection{Member Function Documentation}
\mbox{\Hypertarget{class_q_c_p_axis_rect_a792e1f3d9cb1591fca135bb0de9b81fc}\label{class_q_c_p_axis_rect_a792e1f3d9cb1591fca135bb0de9b81fc}} 
\index{Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}!add\+Axes@{add\+Axes}}
\index{add\+Axes@{add\+Axes}!Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}}
\subsubsection{\texorpdfstring{add\+Axes()}{addAxes()}}
{\footnotesize\ttfamily Q\+List$<$ \mbox{\hyperlink{class_q_c_p_axis}{Q\+C\+P\+Axis}} $\ast$ $>$ Q\+C\+P\+Axis\+Rect\+::add\+Axes (\begin{DoxyParamCaption}\item[{Q\+C\+P\+Axis\+::\+Axis\+Types}]{types }\end{DoxyParamCaption})}

Adds a new axis with \mbox{\hyperlink{class_q_c_p_axis_rect_a2dc336092ccc57d44a46194c8a23e4f4}{add\+Axis}} to each axis rect side specified in {\itshape types}. This may be an {\ttfamily or}-\/combination of \mbox{\hyperlink{class_q_c_p_axis_ae2bcc1728b382f10f064612b368bc18a}{Q\+C\+P\+Axis\+::\+Axis\+Type}}, so axes can be added to multiple sides at once.

Returns a list of the added axes.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_q_c_p_axis_rect_a2dc336092ccc57d44a46194c8a23e4f4}{add\+Axis}}, \mbox{\hyperlink{class_q_c_p_axis_rect_a5fa906175447b14206954f77fc7f1ef4}{setup\+Full\+Axes\+Box}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_q_c_p_axis_rect_a2dc336092ccc57d44a46194c8a23e4f4}\label{class_q_c_p_axis_rect_a2dc336092ccc57d44a46194c8a23e4f4}} 
\index{Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}!add\+Axis@{add\+Axis}}
\index{add\+Axis@{add\+Axis}!Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}}
\subsubsection{\texorpdfstring{add\+Axis()}{addAxis()}}
{\footnotesize\ttfamily \mbox{\hyperlink{class_q_c_p_axis}{Q\+C\+P\+Axis}} $\ast$ Q\+C\+P\+Axis\+Rect\+::add\+Axis (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{class_q_c_p_axis_ae2bcc1728b382f10f064612b368bc18a}{Q\+C\+P\+Axis\+::\+Axis\+Type}}}]{type,  }\item[{\mbox{\hyperlink{class_q_c_p_axis}{Q\+C\+P\+Axis}} $\ast$}]{axis = {\ttfamily 0} }\end{DoxyParamCaption})}

Adds a new axis to the axis rect side specified with {\itshape type}, and returns it. If {\itshape axis} is 0, a new \mbox{\hyperlink{class_q_c_p_axis}{Q\+C\+P\+Axis}} instance is created internally.

You may inject \mbox{\hyperlink{class_q_c_p_axis}{Q\+C\+P\+Axis}} instances (or sublasses of \mbox{\hyperlink{class_q_c_p_axis}{Q\+C\+P\+Axis}}) by setting {\itshape axis} to an axis that was previously created outside \mbox{\hyperlink{class_q_custom_plot}{Q\+Custom\+Plot}}. It is important to note that \mbox{\hyperlink{class_q_custom_plot}{Q\+Custom\+Plot}} takes ownership of the axis, so you may not delete it afterwards. Further, the {\itshape axis} must have been created with this axis rect as parent and with the same axis type as specified in {\itshape type}. If this is not the case, a debug output is generated, the axis is not added, and the method returns 0.

This method can not be used to move {\itshape axis} between axis rects. The same {\itshape axis} instance must not be added multiple times to the same or different axis rects.

If an axis rect side already contains one or more axes, the lower and upper endings of the new axis (\mbox{\hyperlink{class_q_c_p_axis_a08af1c72db9ae4dc8cb8a973d44405ab}{Q\+C\+P\+Axis\+::set\+Lower\+Ending}}, \mbox{\hyperlink{class_q_c_p_axis_a69119b892fc306f651763596685aa377}{Q\+C\+P\+Axis\+::set\+Upper\+Ending}}) are set to \mbox{\hyperlink{class_q_c_p_line_ending_a5ef16e6876b4b74959c7261d8d4c2cd5a126c390f0c359fcd8df1fc5e38d26d5b}{Q\+C\+P\+Line\+Ending\+::es\+Half\+Bar}}.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_q_c_p_axis_rect_a792e1f3d9cb1591fca135bb0de9b81fc}{add\+Axes}}, \mbox{\hyperlink{class_q_c_p_axis_rect_a5fa906175447b14206954f77fc7f1ef4}{setup\+Full\+Axes\+Box}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_q_c_p_axis_rect_a8db4722cb93e9c4a6f0d91150c200867}\label{class_q_c_p_axis_rect_a8db4722cb93e9c4a6f0d91150c200867}} 
\index{Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}!axes@{axes}}
\index{axes@{axes}!Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}}
\subsubsection{\texorpdfstring{axes()}{axes()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily Q\+List$<$ \mbox{\hyperlink{class_q_c_p_axis}{Q\+C\+P\+Axis}} $\ast$ $>$ Q\+C\+P\+Axis\+Rect\+::axes (\begin{DoxyParamCaption}\item[{Q\+C\+P\+Axis\+::\+Axis\+Types}]{types }\end{DoxyParamCaption}) const}

Returns all axes on the axis rect sides specified with {\itshape types}.

{\itshape types} may be a single \mbox{\hyperlink{class_q_c_p_axis_ae2bcc1728b382f10f064612b368bc18a}{Q\+C\+P\+Axis\+::\+Axis\+Type}} or an {\ttfamily or}-\/combination, to get the axes of multiple sides.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_q_c_p_axis_rect_a583ae4f6d78b601b732183f6cabecbe1}{axis}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_q_c_p_axis_rect_a11657b8faebe9677180860e8057ede26}\label{class_q_c_p_axis_rect_a11657b8faebe9677180860e8057ede26}} 
\index{Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}!axes@{axes}}
\index{axes@{axes}!Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}}
\subsubsection{\texorpdfstring{axes()}{axes()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily Q\+List$<$ \mbox{\hyperlink{class_q_c_p_axis}{Q\+C\+P\+Axis}} $\ast$ $>$ Q\+C\+P\+Axis\+Rect\+::axes (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const}

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Returns all axes of this axis rect. \mbox{\Hypertarget{class_q_c_p_axis_rect_a583ae4f6d78b601b732183f6cabecbe1}\label{class_q_c_p_axis_rect_a583ae4f6d78b601b732183f6cabecbe1}} 
\index{Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}!axis@{axis}}
\index{axis@{axis}!Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}}
\subsubsection{\texorpdfstring{axis()}{axis()}}
{\footnotesize\ttfamily \mbox{\hyperlink{class_q_c_p_axis}{Q\+C\+P\+Axis}} $\ast$ Q\+C\+P\+Axis\+Rect\+::axis (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{class_q_c_p_axis_ae2bcc1728b382f10f064612b368bc18a}{Q\+C\+P\+Axis\+::\+Axis\+Type}}}]{type,  }\item[{int}]{index = {\ttfamily 0} }\end{DoxyParamCaption}) const}

Returns the axis with the given {\itshape index} on the axis rect side specified with {\itshape type}.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_q_c_p_axis_rect_a85b321acec0f694d8b5fdeafdbff3133}{axis\+Count}}, \mbox{\hyperlink{class_q_c_p_axis_rect_a8db4722cb93e9c4a6f0d91150c200867}{axes}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_q_c_p_axis_rect_a85b321acec0f694d8b5fdeafdbff3133}\label{class_q_c_p_axis_rect_a85b321acec0f694d8b5fdeafdbff3133}} 
\index{Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}!axis\+Count@{axis\+Count}}
\index{axis\+Count@{axis\+Count}!Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}}
\subsubsection{\texorpdfstring{axis\+Count()}{axisCount()}}
{\footnotesize\ttfamily int Q\+C\+P\+Axis\+Rect\+::axis\+Count (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{class_q_c_p_axis_ae2bcc1728b382f10f064612b368bc18a}{Q\+C\+P\+Axis\+::\+Axis\+Type}}}]{type }\end{DoxyParamCaption}) const}

Returns the number of axes on the axis rect side specified with {\itshape type}.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_q_c_p_axis_rect_a583ae4f6d78b601b732183f6cabecbe1}{axis}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_q_c_p_axis_rect_acefdf1abaa8a8ab681e906cc2be9581e}\label{class_q_c_p_axis_rect_acefdf1abaa8a8ab681e906cc2be9581e}} 
\index{Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}!bottom@{bottom}}
\index{bottom@{bottom}!Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}}
\subsubsection{\texorpdfstring{bottom()}{bottom()}}
{\footnotesize\ttfamily int Q\+C\+P\+Axis\+Rect\+::bottom (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}

Returns the pixel position of the bottom border of this axis rect. Margins are not taken into account here, so the returned value is with respect to the inner \mbox{\hyperlink{class_q_c_p_layout_element_a208effccfe2cca4a0eaf9393e60f2dd4}{rect}}. \mbox{\Hypertarget{class_q_c_p_axis_rect_ab15d4311d6535ccd7af504dc0e2b98c6}\label{class_q_c_p_axis_rect_ab15d4311d6535ccd7af504dc0e2b98c6}} 
\index{Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}!bottom\+Left@{bottom\+Left}}
\index{bottom\+Left@{bottom\+Left}!Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}}
\subsubsection{\texorpdfstring{bottom\+Left()}{bottomLeft()}}
{\footnotesize\ttfamily Q\+Point Q\+C\+P\+Axis\+Rect\+::bottom\+Left (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}

Returns the bottom left corner of this axis rect in pixels. Margins are not taken into account here, so the returned value is with respect to the inner \mbox{\hyperlink{class_q_c_p_layout_element_a208effccfe2cca4a0eaf9393e60f2dd4}{rect}}. \mbox{\Hypertarget{class_q_c_p_axis_rect_a36dac884ec8fa3a3a2f3842ca7b7d32d}\label{class_q_c_p_axis_rect_a36dac884ec8fa3a3a2f3842ca7b7d32d}} 
\index{Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}!bottom\+Right@{bottom\+Right}}
\index{bottom\+Right@{bottom\+Right}!Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}}
\subsubsection{\texorpdfstring{bottom\+Right()}{bottomRight()}}
{\footnotesize\ttfamily Q\+Point Q\+C\+P\+Axis\+Rect\+::bottom\+Right (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}

Returns the bottom right corner of this axis rect in pixels. Margins are not taken into account here, so the returned value is with respect to the inner \mbox{\hyperlink{class_q_c_p_layout_element_a208effccfe2cca4a0eaf9393e60f2dd4}{rect}}. \mbox{\Hypertarget{class_q_c_p_axis_rect_ade3aef874bafcec6dd16174fba44c0b1}\label{class_q_c_p_axis_rect_ade3aef874bafcec6dd16174fba44c0b1}} 
\index{Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}!center@{center}}
\index{center@{center}!Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}}
\subsubsection{\texorpdfstring{center()}{center()}}
{\footnotesize\ttfamily Q\+Point Q\+C\+P\+Axis\+Rect\+::center (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}

Returns the center of this axis rect in pixels. Margins are not taken into account here, so the returned value is with respect to the inner \mbox{\hyperlink{class_q_c_p_layout_element_a208effccfe2cca4a0eaf9393e60f2dd4}{rect}}. \mbox{\Hypertarget{class_q_c_p_axis_rect_a40c0b3b17eb317ff4d393b7cb9b082a2}\label{class_q_c_p_axis_rect_a40c0b3b17eb317ff4d393b7cb9b082a2}} 
\index{Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}!elements@{elements}}
\index{elements@{elements}!Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}}
\subsubsection{\texorpdfstring{elements()}{elements()}}
{\footnotesize\ttfamily Q\+List$<$ \mbox{\hyperlink{class_q_c_p_layout_element}{Q\+C\+P\+Layout\+Element}} $\ast$ $>$ Q\+C\+P\+Axis\+Rect\+::elements (\begin{DoxyParamCaption}\item[{bool}]{recursive }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [virtual]}}

Returns a list of all child elements in this layout element. If {\itshape recursive} is true, all sub-\/child elements are included in the list, too.

\begin{DoxyWarning}{Warning}
There may be entries with value 0 in the returned list. (For example, \mbox{\hyperlink{class_q_c_p_layout_grid}{Q\+C\+P\+Layout\+Grid}} may have empty cells which yield 0 at the respective index.) 
\end{DoxyWarning}


Reimplemented from \mbox{\hyperlink{class_q_c_p_layout_element_a76dec8cb31e498994a944d7647a43309}{Q\+C\+P\+Layout\+Element}}.

\mbox{\Hypertarget{class_q_c_p_axis_rect_a2d9ded3eca97be1fcb5867949391bb88}\label{class_q_c_p_axis_rect_a2d9ded3eca97be1fcb5867949391bb88}} 
\index{Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}!graphs@{graphs}}
\index{graphs@{graphs}!Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}}
\subsubsection{\texorpdfstring{graphs()}{graphs()}}
{\footnotesize\ttfamily Q\+List$<$ \mbox{\hyperlink{class_q_c_p_graph}{Q\+C\+P\+Graph}} $\ast$ $>$ Q\+C\+P\+Axis\+Rect\+::graphs (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const}

Returns a list of all the graphs that are associated with this axis rect.

A graph is considered associated with an axis rect if its key or value axis (or both) is in this axis rect.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_q_c_p_axis_rect_a587d073a97b27bc7293fab4b2774ad59}{plottables}}, \mbox{\hyperlink{class_q_c_p_axis_rect_a03c113a2175448300ee8f944e24776ba}{items}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_q_c_p_axis_rect_acc4377809e79d9a089ab790f39429b0d}\label{class_q_c_p_axis_rect_acc4377809e79d9a089ab790f39429b0d}} 
\index{Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}!height@{height}}
\index{height@{height}!Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}}
\subsubsection{\texorpdfstring{height()}{height()}}
{\footnotesize\ttfamily int Q\+C\+P\+Axis\+Rect\+::height (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}

Returns the pixel height of this axis rect. Margins are not taken into account here, so the returned value is with respect to the inner \mbox{\hyperlink{class_q_c_p_layout_element_a208effccfe2cca4a0eaf9393e60f2dd4}{rect}}. \mbox{\Hypertarget{class_q_c_p_axis_rect_a949f803466619924c7018df4b511ae10}\label{class_q_c_p_axis_rect_a949f803466619924c7018df4b511ae10}} 
\index{Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}!inset\+Layout@{inset\+Layout}}
\index{inset\+Layout@{inset\+Layout}!Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}}
\subsubsection{\texorpdfstring{inset\+Layout()}{insetLayout()}}
{\footnotesize\ttfamily \mbox{\hyperlink{class_q_c_p_layout_inset}{Q\+C\+P\+Layout\+Inset}} $\ast$ Q\+C\+P\+Axis\+Rect\+::inset\+Layout (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}

Returns the inset layout of this axis rect. It can be used to place other layout elements (or even layouts with multiple other elements) inside/on top of an axis rect.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_q_c_p_layout_inset}{Q\+C\+P\+Layout\+Inset}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_q_c_p_axis_rect_a03c113a2175448300ee8f944e24776ba}\label{class_q_c_p_axis_rect_a03c113a2175448300ee8f944e24776ba}} 
\index{Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}!items@{items}}
\index{items@{items}!Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}}
\subsubsection{\texorpdfstring{items()}{items()}}
{\footnotesize\ttfamily Q\+List$<$ \mbox{\hyperlink{class_q_c_p_abstract_item}{Q\+C\+P\+Abstract\+Item}} $\ast$ $>$ Q\+C\+P\+Axis\+Rect\+::items (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const}

Returns a list of all the items that are associated with this axis rect.

An item is considered associated with an axis rect if any of its positions has key or value axis set to an axis that is in this axis rect, or if any of its positions has \mbox{\hyperlink{class_q_c_p_item_position_a0cd9b326fb324710169e92e8ca0041c2}{Q\+C\+P\+Item\+Position\+::set\+Axis\+Rect}} set to the axis rect, or if the clip axis rect (\mbox{\hyperlink{class_q_c_p_abstract_item_a7dc75fcbcd10206fe0b75d757ea7a347}{Q\+C\+P\+Abstract\+Item\+::set\+Clip\+Axis\+Rect}}) is set to this axis rect.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_q_c_p_axis_rect_a587d073a97b27bc7293fab4b2774ad59}{plottables}}, \mbox{\hyperlink{class_q_c_p_axis_rect_a2d9ded3eca97be1fcb5867949391bb88}{graphs}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_q_c_p_axis_rect_afb4a3de02046b20b9310bdb8fca781c3}\label{class_q_c_p_axis_rect_afb4a3de02046b20b9310bdb8fca781c3}} 
\index{Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}!left@{left}}
\index{left@{left}!Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}}
\subsubsection{\texorpdfstring{left()}{left()}}
{\footnotesize\ttfamily int Q\+C\+P\+Axis\+Rect\+::left (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}

Returns the pixel position of the left border of this axis rect. Margins are not taken into account here, so the returned value is with respect to the inner \mbox{\hyperlink{class_q_c_p_layout_element_a208effccfe2cca4a0eaf9393e60f2dd4}{rect}}. \mbox{\Hypertarget{class_q_c_p_axis_rect_a4baf3d5dd69166788f6ceda0ea182c6e}\label{class_q_c_p_axis_rect_a4baf3d5dd69166788f6ceda0ea182c6e}} 
\index{Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}!mouse\+Move\+Event@{mouse\+Move\+Event}}
\index{mouse\+Move\+Event@{mouse\+Move\+Event}!Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}}
\subsubsection{\texorpdfstring{mouse\+Move\+Event()}{mouseMoveEvent()}}
{\footnotesize\ttfamily void Q\+C\+P\+Axis\+Rect\+::mouse\+Move\+Event (\begin{DoxyParamCaption}\item[{Q\+Mouse\+Event $\ast$}]{event }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [protected]}, {\ttfamily [virtual]}}

This event is called, if the mouse is moved inside the outer rect of this layout element. 

Reimplemented from \mbox{\hyperlink{class_q_c_p_layout_element_a14f4acf58cdb8dd2c6c571479c4c4a40}{Q\+C\+P\+Layout\+Element}}.

\mbox{\Hypertarget{class_q_c_p_axis_rect_a77501dbeccdac7256f7979b05077c04e}\label{class_q_c_p_axis_rect_a77501dbeccdac7256f7979b05077c04e}} 
\index{Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}!mouse\+Press\+Event@{mouse\+Press\+Event}}
\index{mouse\+Press\+Event@{mouse\+Press\+Event}!Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}}
\subsubsection{\texorpdfstring{mouse\+Press\+Event()}{mousePressEvent()}}
{\footnotesize\ttfamily void Q\+C\+P\+Axis\+Rect\+::mouse\+Press\+Event (\begin{DoxyParamCaption}\item[{Q\+Mouse\+Event $\ast$}]{event }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [protected]}, {\ttfamily [virtual]}}

This event is called, if the mouse was pressed while being inside the outer rect of this layout element. 

Reimplemented from \mbox{\hyperlink{class_q_c_p_layout_element_a2d82ea21fe0ee628f177bd824bc51a71}{Q\+C\+P\+Layout\+Element}}.

\mbox{\Hypertarget{class_q_c_p_axis_rect_adf6c99780cea55ab39459a6eaad3a94a}\label{class_q_c_p_axis_rect_adf6c99780cea55ab39459a6eaad3a94a}} 
\index{Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}!mouse\+Release\+Event@{mouse\+Release\+Event}}
\index{mouse\+Release\+Event@{mouse\+Release\+Event}!Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}}
\subsubsection{\texorpdfstring{mouse\+Release\+Event()}{mouseReleaseEvent()}}
{\footnotesize\ttfamily void Q\+C\+P\+Axis\+Rect\+::mouse\+Release\+Event (\begin{DoxyParamCaption}\item[{Q\+Mouse\+Event $\ast$}]{event }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [protected]}, {\ttfamily [virtual]}}

This event is called, if the mouse was previously pressed inside the outer rect of this layout element and is now released. 

Reimplemented from \mbox{\hyperlink{class_q_c_p_layout_element_ae526ac828cce1e5bb94eaa85776d7404}{Q\+C\+P\+Layout\+Element}}.

\mbox{\Hypertarget{class_q_c_p_axis_rect_a587d073a97b27bc7293fab4b2774ad59}\label{class_q_c_p_axis_rect_a587d073a97b27bc7293fab4b2774ad59}} 
\index{Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}!plottables@{plottables}}
\index{plottables@{plottables}!Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}}
\subsubsection{\texorpdfstring{plottables()}{plottables()}}
{\footnotesize\ttfamily Q\+List$<$ \mbox{\hyperlink{class_q_c_p_abstract_plottable}{Q\+C\+P\+Abstract\+Plottable}} $\ast$ $>$ Q\+C\+P\+Axis\+Rect\+::plottables (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const}

Returns a list of all the plottables that are associated with this axis rect.

A plottable is considered associated with an axis rect if its key or value axis (or both) is in this axis rect.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_q_c_p_axis_rect_a2d9ded3eca97be1fcb5867949391bb88}{graphs}}, \mbox{\hyperlink{class_q_c_p_axis_rect_a03c113a2175448300ee8f944e24776ba}{items}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_q_c_p_axis_rect_a6d7c22cfc54fac7a3d6ef80b133a8574}\label{class_q_c_p_axis_rect_a6d7c22cfc54fac7a3d6ef80b133a8574}} 
\index{Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}!range\+Drag\+Axis@{range\+Drag\+Axis}}
\index{range\+Drag\+Axis@{range\+Drag\+Axis}!Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}}
\subsubsection{\texorpdfstring{range\+Drag\+Axis()}{rangeDragAxis()}}
{\footnotesize\ttfamily \mbox{\hyperlink{class_q_c_p_axis}{Q\+C\+P\+Axis}} $\ast$ Q\+C\+P\+Axis\+Rect\+::range\+Drag\+Axis (\begin{DoxyParamCaption}\item[{Qt\+::\+Orientation}]{orientation }\end{DoxyParamCaption})}

Returns the range drag axis of the {\itshape orientation} provided.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_q_c_p_axis_rect_a648cce336bd99daac4a5ca3e5743775d}{set\+Range\+Drag\+Axes}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_q_c_p_axis_rect_a679c63f2b8daccfe6ec5110dce3dd3b6}\label{class_q_c_p_axis_rect_a679c63f2b8daccfe6ec5110dce3dd3b6}} 
\index{Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}!range\+Zoom\+Axis@{range\+Zoom\+Axis}}
\index{range\+Zoom\+Axis@{range\+Zoom\+Axis}!Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}}
\subsubsection{\texorpdfstring{range\+Zoom\+Axis()}{rangeZoomAxis()}}
{\footnotesize\ttfamily \mbox{\hyperlink{class_q_c_p_axis}{Q\+C\+P\+Axis}} $\ast$ Q\+C\+P\+Axis\+Rect\+::range\+Zoom\+Axis (\begin{DoxyParamCaption}\item[{Qt\+::\+Orientation}]{orientation }\end{DoxyParamCaption})}

Returns the range zoom axis of the {\itshape orientation} provided.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_q_c_p_axis_rect_a9442cca2aa358405f39a64d51eca13d2}{set\+Range\+Zoom\+Axes}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_q_c_p_axis_rect_ae4e6c4d143aacc88d2d3c56f117c2fe1}\label{class_q_c_p_axis_rect_ae4e6c4d143aacc88d2d3c56f117c2fe1}} 
\index{Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}!range\+Zoom\+Factor@{range\+Zoom\+Factor}}
\index{range\+Zoom\+Factor@{range\+Zoom\+Factor}!Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}}
\subsubsection{\texorpdfstring{range\+Zoom\+Factor()}{rangeZoomFactor()}}
{\footnotesize\ttfamily double Q\+C\+P\+Axis\+Rect\+::range\+Zoom\+Factor (\begin{DoxyParamCaption}\item[{Qt\+::\+Orientation}]{orientation }\end{DoxyParamCaption})}

Returns the range zoom factor of the {\itshape orientation} provided.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_q_c_p_axis_rect_a895d7ac745ea614e04056244b3c138ac}{set\+Range\+Zoom\+Factor}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_q_c_p_axis_rect_a03c39cd9704f0d36fb6cf980cdddcbaa}\label{class_q_c_p_axis_rect_a03c39cd9704f0d36fb6cf980cdddcbaa}} 
\index{Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}!remove\+Axis@{remove\+Axis}}
\index{remove\+Axis@{remove\+Axis}!Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}}
\subsubsection{\texorpdfstring{remove\+Axis()}{removeAxis()}}
{\footnotesize\ttfamily bool Q\+C\+P\+Axis\+Rect\+::remove\+Axis (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{class_q_c_p_axis}{Q\+C\+P\+Axis}} $\ast$}]{axis }\end{DoxyParamCaption})}

Removes the specified {\itshape axis} from the axis rect and deletes it.

Returns true on success, i.\+e. if {\itshape axis} was a valid axis in this axis rect.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_q_c_p_axis_rect_a2dc336092ccc57d44a46194c8a23e4f4}{add\+Axis}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_q_c_p_axis_rect_a3f819d4a1b2193723d1fdafc573eea10}\label{class_q_c_p_axis_rect_a3f819d4a1b2193723d1fdafc573eea10}} 
\index{Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}!right@{right}}
\index{right@{right}!Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}}
\subsubsection{\texorpdfstring{right()}{right()}}
{\footnotesize\ttfamily int Q\+C\+P\+Axis\+Rect\+::right (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}

Returns the pixel position of the right border of this axis rect. Margins are not taken into account here, so the returned value is with respect to the inner \mbox{\hyperlink{class_q_c_p_layout_element_a208effccfe2cca4a0eaf9393e60f2dd4}{rect}}. \mbox{\Hypertarget{class_q_c_p_axis_rect_af615ab5e52b8e0a9a0eff415b6559db5}\label{class_q_c_p_axis_rect_af615ab5e52b8e0a9a0eff415b6559db5}} 
\index{Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}!set\+Background@{set\+Background}}
\index{set\+Background@{set\+Background}!Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}}
\subsubsection{\texorpdfstring{set\+Background()}{setBackground()}\hspace{0.1cm}{\footnotesize\ttfamily [1/3]}}
{\footnotesize\ttfamily void Q\+C\+P\+Axis\+Rect\+::set\+Background (\begin{DoxyParamCaption}\item[{const Q\+Pixmap \&}]{pm }\end{DoxyParamCaption})}

Sets {\itshape pm} as the axis background pixmap. The axis background pixmap will be drawn inside the axis rect. Since axis rects place themselves on the \char`\"{}background\char`\"{} layer by default, the axis rect backgrounds are usually drawn below everything else.

For cases where the provided pixmap doesn\textquotesingle{}t have the same size as the axis rect, scaling can be enabled with \mbox{\hyperlink{class_q_c_p_axis_rect_ae6d36c3e0e968ffb991170a018e7b503}{set\+Background\+Scaled}} and the scaling mode (i.\+e. whether and how the aspect ratio is preserved) can be set with \mbox{\hyperlink{class_q_c_p_axis_rect_a5ef77ea829c9de7ba248e473f48f7305}{set\+Background\+Scaled\+Mode}}. To set all these options in one call, consider using the overloaded version of this function.

Below the pixmap, the axis rect may be optionally filled with a brush, if specified with \mbox{\hyperlink{class_q_c_p_axis_rect_a22a22b8668735438dc06f9a55fe46b33}{set\+Background(const Q\+Brush \&brush)}}.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_q_c_p_axis_rect_ae6d36c3e0e968ffb991170a018e7b503}{set\+Background\+Scaled}}, \mbox{\hyperlink{class_q_c_p_axis_rect_a5ef77ea829c9de7ba248e473f48f7305}{set\+Background\+Scaled\+Mode}}, \mbox{\hyperlink{class_q_c_p_axis_rect_a22a22b8668735438dc06f9a55fe46b33}{set\+Background(const Q\+Brush \&brush)}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_q_c_p_axis_rect_ac48a2d5d9b7732e73b86605c69c5e4c1}\label{class_q_c_p_axis_rect_ac48a2d5d9b7732e73b86605c69c5e4c1}} 
\index{Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}!set\+Background@{set\+Background}}
\index{set\+Background@{set\+Background}!Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}}
\subsubsection{\texorpdfstring{set\+Background()}{setBackground()}\hspace{0.1cm}{\footnotesize\ttfamily [2/3]}}
{\footnotesize\ttfamily void Q\+C\+P\+Axis\+Rect\+::set\+Background (\begin{DoxyParamCaption}\item[{const Q\+Pixmap \&}]{pm,  }\item[{bool}]{scaled,  }\item[{Qt\+::\+Aspect\+Ratio\+Mode}]{mode = {\ttfamily Qt\+:\+:KeepAspectRatioByExpanding} }\end{DoxyParamCaption})}

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Allows setting the background pixmap of the axis rect, whether it shall be scaled and how it shall be scaled in one call.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_q_c_p_axis_rect_af615ab5e52b8e0a9a0eff415b6559db5}{set\+Background(const Q\+Pixmap \&pm)}}, \mbox{\hyperlink{class_q_c_p_axis_rect_ae6d36c3e0e968ffb991170a018e7b503}{set\+Background\+Scaled}}, \mbox{\hyperlink{class_q_c_p_axis_rect_a5ef77ea829c9de7ba248e473f48f7305}{set\+Background\+Scaled\+Mode}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_q_c_p_axis_rect_a22a22b8668735438dc06f9a55fe46b33}\label{class_q_c_p_axis_rect_a22a22b8668735438dc06f9a55fe46b33}} 
\index{Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}!set\+Background@{set\+Background}}
\index{set\+Background@{set\+Background}!Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}}
\subsubsection{\texorpdfstring{set\+Background()}{setBackground()}\hspace{0.1cm}{\footnotesize\ttfamily [3/3]}}
{\footnotesize\ttfamily void Q\+C\+P\+Axis\+Rect\+::set\+Background (\begin{DoxyParamCaption}\item[{const Q\+Brush \&}]{brush }\end{DoxyParamCaption})}

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Sets {\itshape brush} as the background brush. The axis rect background will be filled with this brush. Since axis rects place themselves on the \char`\"{}background\char`\"{} layer by default, the axis rect backgrounds are usually drawn below everything else.

The brush will be drawn before (under) any background pixmap, which may be specified with \mbox{\hyperlink{class_q_c_p_axis_rect_af615ab5e52b8e0a9a0eff415b6559db5}{set\+Background(const Q\+Pixmap \&pm)}}.

To disable drawing of a background brush, set {\itshape brush} to Qt\+::\+No\+Brush.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_q_c_p_axis_rect_af615ab5e52b8e0a9a0eff415b6559db5}{set\+Background(const Q\+Pixmap \&pm)}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_q_c_p_axis_rect_ae6d36c3e0e968ffb991170a018e7b503}\label{class_q_c_p_axis_rect_ae6d36c3e0e968ffb991170a018e7b503}} 
\index{Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}!set\+Background\+Scaled@{set\+Background\+Scaled}}
\index{set\+Background\+Scaled@{set\+Background\+Scaled}!Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}}
\subsubsection{\texorpdfstring{set\+Background\+Scaled()}{setBackgroundScaled()}}
{\footnotesize\ttfamily void Q\+C\+P\+Axis\+Rect\+::set\+Background\+Scaled (\begin{DoxyParamCaption}\item[{bool}]{scaled }\end{DoxyParamCaption})}

Sets whether the axis background pixmap shall be scaled to fit the axis rect or not. If {\itshape scaled} is set to true, you may control whether and how the aspect ratio of the original pixmap is preserved with \mbox{\hyperlink{class_q_c_p_axis_rect_a5ef77ea829c9de7ba248e473f48f7305}{set\+Background\+Scaled\+Mode}}.

Note that the scaled version of the original pixmap is buffered, so there is no performance penalty on replots. (Except when the axis rect dimensions are changed continuously.)

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_q_c_p_axis_rect_af615ab5e52b8e0a9a0eff415b6559db5}{set\+Background}}, \mbox{\hyperlink{class_q_c_p_axis_rect_a5ef77ea829c9de7ba248e473f48f7305}{set\+Background\+Scaled\+Mode}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_q_c_p_axis_rect_a5ef77ea829c9de7ba248e473f48f7305}\label{class_q_c_p_axis_rect_a5ef77ea829c9de7ba248e473f48f7305}} 
\index{Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}!set\+Background\+Scaled\+Mode@{set\+Background\+Scaled\+Mode}}
\index{set\+Background\+Scaled\+Mode@{set\+Background\+Scaled\+Mode}!Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}}
\subsubsection{\texorpdfstring{set\+Background\+Scaled\+Mode()}{setBackgroundScaledMode()}}
{\footnotesize\ttfamily void Q\+C\+P\+Axis\+Rect\+::set\+Background\+Scaled\+Mode (\begin{DoxyParamCaption}\item[{Qt\+::\+Aspect\+Ratio\+Mode}]{mode }\end{DoxyParamCaption})}

If scaling of the axis background pixmap is enabled (\mbox{\hyperlink{class_q_c_p_axis_rect_ae6d36c3e0e968ffb991170a018e7b503}{set\+Background\+Scaled}}), use this function to define whether and how the aspect ratio of the original pixmap passed to \mbox{\hyperlink{class_q_c_p_axis_rect_af615ab5e52b8e0a9a0eff415b6559db5}{set\+Background}} is preserved. \begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_q_c_p_axis_rect_af615ab5e52b8e0a9a0eff415b6559db5}{set\+Background}}, \mbox{\hyperlink{class_q_c_p_axis_rect_ae6d36c3e0e968ffb991170a018e7b503}{set\+Background\+Scaled}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_q_c_p_axis_rect_ae6aef2f7211ba6097c925dcd26008418}\label{class_q_c_p_axis_rect_ae6aef2f7211ba6097c925dcd26008418}} 
\index{Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}!set\+Range\+Drag@{set\+Range\+Drag}}
\index{set\+Range\+Drag@{set\+Range\+Drag}!Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}}
\subsubsection{\texorpdfstring{set\+Range\+Drag()}{setRangeDrag()}}
{\footnotesize\ttfamily void Q\+C\+P\+Axis\+Rect\+::set\+Range\+Drag (\begin{DoxyParamCaption}\item[{Qt\+::\+Orientations}]{orientations }\end{DoxyParamCaption})}

Sets which axis orientation may be range dragged by the user with mouse interaction. What orientation corresponds to which specific axis can be set with \mbox{\hyperlink{class_q_c_p_axis_rect_a648cce336bd99daac4a5ca3e5743775d}{set\+Range\+Drag\+Axes(\+Q\+C\+P\+Axis $\ast$horizontal, Q\+C\+P\+Axis $\ast$vertical)}}. By default, the horizontal axis is the bottom axis (x\+Axis) and the vertical axis is the left axis (y\+Axis).

To disable range dragging entirely, pass 0 as {\itshape orientations} or remove \mbox{\hyperlink{namespace_q_c_p_a2ad6bb6281c7c2d593d4277b44c2b037a2c4432b9aceafb94000be8d1b589ef18}{Q\+C\+P\+::i\+Range\+Drag}} from \mbox{\hyperlink{class_q_custom_plot_a5ee1e2f6ae27419deca53e75907c27e5}{Q\+Custom\+Plot\+::set\+Interactions}}. To enable range dragging for both directions, pass {\ttfamily Qt\+::\+Horizontal $\vert$ Qt\+::\+Vertical} as {\itshape orientations}.

In addition to setting {\itshape orientations} to a non-\/zero value, make sure \mbox{\hyperlink{class_q_custom_plot_a5ee1e2f6ae27419deca53e75907c27e5}{Q\+Custom\+Plot\+::set\+Interactions}} contains \mbox{\hyperlink{namespace_q_c_p_a2ad6bb6281c7c2d593d4277b44c2b037a2c4432b9aceafb94000be8d1b589ef18}{Q\+C\+P\+::i\+Range\+Drag}} to enable the range dragging interaction.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_q_c_p_axis_rect_a7960a9d222f1c31d558b064b60f86a31}{set\+Range\+Zoom}}, \mbox{\hyperlink{class_q_c_p_axis_rect_a648cce336bd99daac4a5ca3e5743775d}{set\+Range\+Drag\+Axes}}, \mbox{\hyperlink{class_q_custom_plot_a775bdcb6329d44701aeaa6135b0e5265}{Q\+Custom\+Plot\+::set\+No\+Antialiasing\+On\+Drag}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_q_c_p_axis_rect_a648cce336bd99daac4a5ca3e5743775d}\label{class_q_c_p_axis_rect_a648cce336bd99daac4a5ca3e5743775d}} 
\index{Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}!set\+Range\+Drag\+Axes@{set\+Range\+Drag\+Axes}}
\index{set\+Range\+Drag\+Axes@{set\+Range\+Drag\+Axes}!Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}}
\subsubsection{\texorpdfstring{set\+Range\+Drag\+Axes()}{setRangeDragAxes()}}
{\footnotesize\ttfamily void Q\+C\+P\+Axis\+Rect\+::set\+Range\+Drag\+Axes (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{class_q_c_p_axis}{Q\+C\+P\+Axis}} $\ast$}]{horizontal,  }\item[{\mbox{\hyperlink{class_q_c_p_axis}{Q\+C\+P\+Axis}} $\ast$}]{vertical }\end{DoxyParamCaption})}

Sets the axes whose range will be dragged when \mbox{\hyperlink{class_q_c_p_axis_rect_ae6aef2f7211ba6097c925dcd26008418}{set\+Range\+Drag}} enables mouse range dragging on the \mbox{\hyperlink{class_q_custom_plot}{Q\+Custom\+Plot}} widget.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_q_c_p_axis_rect_a9442cca2aa358405f39a64d51eca13d2}{set\+Range\+Zoom\+Axes}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_q_c_p_axis_rect_a7960a9d222f1c31d558b064b60f86a31}\label{class_q_c_p_axis_rect_a7960a9d222f1c31d558b064b60f86a31}} 
\index{Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}!set\+Range\+Zoom@{set\+Range\+Zoom}}
\index{set\+Range\+Zoom@{set\+Range\+Zoom}!Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}}
\subsubsection{\texorpdfstring{set\+Range\+Zoom()}{setRangeZoom()}}
{\footnotesize\ttfamily void Q\+C\+P\+Axis\+Rect\+::set\+Range\+Zoom (\begin{DoxyParamCaption}\item[{Qt\+::\+Orientations}]{orientations }\end{DoxyParamCaption})}

Sets which axis orientation may be zoomed by the user with the mouse wheel. What orientation corresponds to which specific axis can be set with \mbox{\hyperlink{class_q_c_p_axis_rect_a9442cca2aa358405f39a64d51eca13d2}{set\+Range\+Zoom\+Axes}}(\mbox{\hyperlink{class_q_c_p_axis}{Q\+C\+P\+Axis}} $\ast$horizontal, \mbox{\hyperlink{class_q_c_p_axis}{Q\+C\+P\+Axis}} $\ast$vertical). By default, the horizontal axis is the bottom axis (x\+Axis) and the vertical axis is the left axis (y\+Axis).

To disable range zooming entirely, pass 0 as {\itshape orientations} or remove \mbox{\hyperlink{namespace_q_c_p_a2ad6bb6281c7c2d593d4277b44c2b037abee1e94353525a636aeaf0ba32b72e14}{Q\+C\+P\+::i\+Range\+Zoom}} from \mbox{\hyperlink{class_q_custom_plot_a5ee1e2f6ae27419deca53e75907c27e5}{Q\+Custom\+Plot\+::set\+Interactions}}. To enable range zooming for both directions, pass {\ttfamily Qt\+::\+Horizontal $\vert$ Qt\+::\+Vertical} as {\itshape orientations}.

In addition to setting {\itshape orientations} to a non-\/zero value, make sure \mbox{\hyperlink{class_q_custom_plot_a5ee1e2f6ae27419deca53e75907c27e5}{Q\+Custom\+Plot\+::set\+Interactions}} contains \mbox{\hyperlink{namespace_q_c_p_a2ad6bb6281c7c2d593d4277b44c2b037abee1e94353525a636aeaf0ba32b72e14}{Q\+C\+P\+::i\+Range\+Zoom}} to enable the range zooming interaction.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_q_c_p_axis_rect_a895d7ac745ea614e04056244b3c138ac}{set\+Range\+Zoom\+Factor}}, \mbox{\hyperlink{class_q_c_p_axis_rect_a9442cca2aa358405f39a64d51eca13d2}{set\+Range\+Zoom\+Axes}}, \mbox{\hyperlink{class_q_c_p_axis_rect_ae6aef2f7211ba6097c925dcd26008418}{set\+Range\+Drag}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_q_c_p_axis_rect_a9442cca2aa358405f39a64d51eca13d2}\label{class_q_c_p_axis_rect_a9442cca2aa358405f39a64d51eca13d2}} 
\index{Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}!set\+Range\+Zoom\+Axes@{set\+Range\+Zoom\+Axes}}
\index{set\+Range\+Zoom\+Axes@{set\+Range\+Zoom\+Axes}!Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}}
\subsubsection{\texorpdfstring{set\+Range\+Zoom\+Axes()}{setRangeZoomAxes()}}
{\footnotesize\ttfamily void Q\+C\+P\+Axis\+Rect\+::set\+Range\+Zoom\+Axes (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{class_q_c_p_axis}{Q\+C\+P\+Axis}} $\ast$}]{horizontal,  }\item[{\mbox{\hyperlink{class_q_c_p_axis}{Q\+C\+P\+Axis}} $\ast$}]{vertical }\end{DoxyParamCaption})}

Sets the axes whose range will be zoomed when \mbox{\hyperlink{class_q_c_p_axis_rect_a7960a9d222f1c31d558b064b60f86a31}{set\+Range\+Zoom}} enables mouse wheel zooming on the \mbox{\hyperlink{class_q_custom_plot}{Q\+Custom\+Plot}} widget. The two axes can be zoomed with different strengths, when different factors are passed to \mbox{\hyperlink{class_q_c_p_axis_rect_a895d7ac745ea614e04056244b3c138ac}{set\+Range\+Zoom\+Factor(double horizontal\+Factor, double vertical\+Factor)}}.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{class_q_c_p_axis_rect_a648cce336bd99daac4a5ca3e5743775d}{set\+Range\+Drag\+Axes}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{class_q_c_p_axis_rect_a895d7ac745ea614e04056244b3c138ac}\label{class_q_c_p_axis_rect_a895d7ac745ea614e04056244b3c138ac}} 
\index{Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}!set\+Range\+Zoom\+Factor@{set\+Range\+Zoom\+Factor}}
\index{set\+Range\+Zoom\+Factor@{set\+Range\+Zoom\+Factor}!Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}}
\subsubsection{\texorpdfstring{set\+Range\+Zoom\+Factor()}{setRangeZoomFactor()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily void Q\+C\+P\+Axis\+Rect\+::set\+Range\+Zoom\+Factor (\begin{DoxyParamCaption}\item[{double}]{horizontal\+Factor,  }\item[{double}]{vertical\+Factor }\end{DoxyParamCaption})}

Sets how strong one rotation step of the mouse wheel zooms, when range zoom was activated with \mbox{\hyperlink{class_q_c_p_axis_rect_a7960a9d222f1c31d558b064b60f86a31}{set\+Range\+Zoom}}. The two parameters {\itshape horizontal\+Factor} and {\itshape vertical\+Factor} provide a way to let the horizontal axis zoom at different rates than the vertical axis. Which axis is horizontal and which is vertical, can be set with \mbox{\hyperlink{class_q_c_p_axis_rect_a9442cca2aa358405f39a64d51eca13d2}{set\+Range\+Zoom\+Axes}}.

When the zoom factor is greater than one, scrolling the mouse wheel backwards (towards the user) will zoom in (make the currently visible range smaller). For zoom factors smaller than one, the same scrolling direction will zoom out. \mbox{\Hypertarget{class_q_c_p_axis_rect_ae83d187b03fc6fa4f00765ad50cd3fc3}\label{class_q_c_p_axis_rect_ae83d187b03fc6fa4f00765ad50cd3fc3}} 
\index{Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}!set\+Range\+Zoom\+Factor@{set\+Range\+Zoom\+Factor}}
\index{set\+Range\+Zoom\+Factor@{set\+Range\+Zoom\+Factor}!Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}}
\subsubsection{\texorpdfstring{set\+Range\+Zoom\+Factor()}{setRangeZoomFactor()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily void Q\+C\+P\+Axis\+Rect\+::set\+Range\+Zoom\+Factor (\begin{DoxyParamCaption}\item[{double}]{factor }\end{DoxyParamCaption})}

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Sets both the horizontal and vertical zoom {\itshape factor}. \mbox{\Hypertarget{class_q_c_p_axis_rect_a5fa906175447b14206954f77fc7f1ef4}\label{class_q_c_p_axis_rect_a5fa906175447b14206954f77fc7f1ef4}} 
\index{Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}!setup\+Full\+Axes\+Box@{setup\+Full\+Axes\+Box}}
\index{setup\+Full\+Axes\+Box@{setup\+Full\+Axes\+Box}!Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}}
\subsubsection{\texorpdfstring{setup\+Full\+Axes\+Box()}{setupFullAxesBox()}}
{\footnotesize\ttfamily void Q\+C\+P\+Axis\+Rect\+::setup\+Full\+Axes\+Box (\begin{DoxyParamCaption}\item[{bool}]{connect\+Ranges = {\ttfamily false} }\end{DoxyParamCaption})}

Convenience function to create an axis on each side that doesn\textquotesingle{}t have any axes yet and set their visibility to true. Further, the top/right axes are assigned the following properties of the bottom/left axes\+:

\begin{DoxyItemize}
\item range (\mbox{\hyperlink{class_q_c_p_axis_aebdfea5d44c3a0ad2b4700cd4d25b641}{Q\+C\+P\+Axis\+::set\+Range}}) \item range reversed (\mbox{\hyperlink{class_q_c_p_axis_a2172fdb196b1a0dc3f40992fcad8e9e1}{Q\+C\+P\+Axis\+::set\+Range\+Reversed}}) \item scale type (\mbox{\hyperlink{class_q_c_p_axis_adef29cae617af4f519f6c40d1a866ca6}{Q\+C\+P\+Axis\+::set\+Scale\+Type}}) \item scale log base (\mbox{\hyperlink{class_q_c_p_axis_a726186054be90487885a748aa1b42188}{Q\+C\+P\+Axis\+::set\+Scale\+Log\+Base}}) \item ticks (\mbox{\hyperlink{class_q_c_p_axis_ac891409315bc379e3b1abdb162c1a011}{Q\+C\+P\+Axis\+::set\+Ticks}}) \item auto (major) tick count (\mbox{\hyperlink{class_q_c_p_axis_a7c7111cbeac9ec5fcb40f93a1ef51a0b}{Q\+C\+P\+Axis\+::set\+Auto\+Tick\+Count}}) \item sub tick count (\mbox{\hyperlink{class_q_c_p_axis_a4b1554ead9d7f9799650d51383e326dd}{Q\+C\+P\+Axis\+::set\+Sub\+Tick\+Count}}) \item auto sub ticks (\mbox{\hyperlink{class_q_c_p_axis_adcbdec7a60054b88571e89599f4a45bf}{Q\+C\+P\+Axis\+::set\+Auto\+Sub\+Ticks}}) \item tick step (\mbox{\hyperlink{class_q_c_p_axis_af727db0acc6492c4c774c0700e738205}{Q\+C\+P\+Axis\+::set\+Tick\+Step}}) \item auto tick step (\mbox{\hyperlink{class_q_c_p_axis_a99fe77b034e06f5b723995beab96e741}{Q\+C\+P\+Axis\+::set\+Auto\+Tick\+Step}}) \item number format (\mbox{\hyperlink{class_q_c_p_axis_ae585a54dc2aac662e90a2ca82f002590}{Q\+C\+P\+Axis\+::set\+Number\+Format}}) \item number precision (\mbox{\hyperlink{class_q_c_p_axis_a21dc8023ad7500382ad9574b48137e63}{Q\+C\+P\+Axis\+::set\+Number\+Precision}}) \item tick label type (\mbox{\hyperlink{class_q_c_p_axis_a54f24f5ce8feea25209388a863d7e448}{Q\+C\+P\+Axis\+::set\+Tick\+Label\+Type}}) \item date time format (\mbox{\hyperlink{class_q_c_p_axis_a2ee0191daa03524a682113e63e05f7a7}{Q\+C\+P\+Axis\+::set\+Date\+Time\+Format}}) \item date time spec (\mbox{\hyperlink{class_q_c_p_axis_a262e06731debed7eee11fa6a81d67eaf}{Q\+C\+P\+Axis\+::set\+Date\+Time\+Spec}})\end{DoxyItemize}
Tick labels (\mbox{\hyperlink{class_q_c_p_axis_a04ba16e1f6f78d70f938519576ed32c8}{Q\+C\+P\+Axis\+::set\+Tick\+Labels}}) of the right and top axes are set to false.

If {\itshape connect\+Ranges} is true, the \mbox{\hyperlink{class_q_c_p_axis_a0894084e4c16a1736534c4095746f910}{range\+Changed}} signals of the bottom and left axes are connected to the \mbox{\hyperlink{class_q_c_p_axis_aebdfea5d44c3a0ad2b4700cd4d25b641}{Q\+C\+P\+Axis\+::set\+Range}} slots of the top and right axes. \mbox{\Hypertarget{class_q_c_p_axis_rect_a7a8289346eb612f422c704f8b75cf479}\label{class_q_c_p_axis_rect_a7a8289346eb612f422c704f8b75cf479}} 
\index{Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}!size@{size}}
\index{size@{size}!Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}}
\subsubsection{\texorpdfstring{size()}{size()}}
{\footnotesize\ttfamily Q\+Size Q\+C\+P\+Axis\+Rect\+::size (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}

Returns the pixel size of this axis rect. Margins are not taken into account here, so the returned value is with respect to the inner \mbox{\hyperlink{class_q_c_p_layout_element_a208effccfe2cca4a0eaf9393e60f2dd4}{rect}}. \mbox{\Hypertarget{class_q_c_p_axis_rect_a45dbad181cbb9f09d068dbb76c817c95}\label{class_q_c_p_axis_rect_a45dbad181cbb9f09d068dbb76c817c95}} 
\index{Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}!top@{top}}
\index{top@{top}!Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}}
\subsubsection{\texorpdfstring{top()}{top()}}
{\footnotesize\ttfamily int Q\+C\+P\+Axis\+Rect\+::top (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}

Returns the pixel position of the top border of this axis rect. Margins are not taken into account here, so the returned value is with respect to the inner \mbox{\hyperlink{class_q_c_p_layout_element_a208effccfe2cca4a0eaf9393e60f2dd4}{rect}}. \mbox{\Hypertarget{class_q_c_p_axis_rect_a5a847b3ddeca3abec38d3838fefb0dbd}\label{class_q_c_p_axis_rect_a5a847b3ddeca3abec38d3838fefb0dbd}} 
\index{Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}!top\+Left@{top\+Left}}
\index{top\+Left@{top\+Left}!Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}}
\subsubsection{\texorpdfstring{top\+Left()}{topLeft()}}
{\footnotesize\ttfamily Q\+Point Q\+C\+P\+Axis\+Rect\+::top\+Left (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}

Returns the top left corner of this axis rect in pixels. Margins are not taken into account here, so the returned value is with respect to the inner \mbox{\hyperlink{class_q_c_p_layout_element_a208effccfe2cca4a0eaf9393e60f2dd4}{rect}}. \mbox{\Hypertarget{class_q_c_p_axis_rect_a7aa221967549ba71b98c465bf8234758}\label{class_q_c_p_axis_rect_a7aa221967549ba71b98c465bf8234758}} 
\index{Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}!top\+Right@{top\+Right}}
\index{top\+Right@{top\+Right}!Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}}
\subsubsection{\texorpdfstring{top\+Right()}{topRight()}}
{\footnotesize\ttfamily Q\+Point Q\+C\+P\+Axis\+Rect\+::top\+Right (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}

Returns the top right corner of this axis rect in pixels. Margins are not taken into account here, so the returned value is with respect to the inner \mbox{\hyperlink{class_q_c_p_layout_element_a208effccfe2cca4a0eaf9393e60f2dd4}{rect}}. \mbox{\Hypertarget{class_q_c_p_axis_rect_a255080a017df9083a60a321ef2ba9ed8}\label{class_q_c_p_axis_rect_a255080a017df9083a60a321ef2ba9ed8}} 
\index{Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}!update@{update}}
\index{update@{update}!Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}}
\subsubsection{\texorpdfstring{update()}{update()}}
{\footnotesize\ttfamily void Q\+C\+P\+Axis\+Rect\+::update (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{class_q_c_p_layout_element_a0d83360e05735735aaf6d7983c56374d}{Update\+Phase}}}]{phase }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}

This method is called automatically upon replot and doesn\textquotesingle{}t need to be called by users of \mbox{\hyperlink{class_q_c_p_axis_rect}{Q\+C\+P\+Axis\+Rect}}.

Calls the base class implementation to update the margins (see \mbox{\hyperlink{class_q_c_p_layout_element_a929c2ec62e0e0e1d8418eaa802e2af9b}{Q\+C\+P\+Layout\+Element\+::update}}), and finally passes the \mbox{\hyperlink{class_q_c_p_layout_element_a208effccfe2cca4a0eaf9393e60f2dd4}{rect}} to the inset layout (\mbox{\hyperlink{class_q_c_p_axis_rect_a949f803466619924c7018df4b511ae10}{inset\+Layout}}) and calls its Q\+C\+P\+Inset\+Layout\+::update function. 

Reimplemented from \mbox{\hyperlink{class_q_c_p_layout_element_a929c2ec62e0e0e1d8418eaa802e2af9b}{Q\+C\+P\+Layout\+Element}}.

\mbox{\Hypertarget{class_q_c_p_axis_rect_a5acf41fc30aa68ea263246ecfad85c31}\label{class_q_c_p_axis_rect_a5acf41fc30aa68ea263246ecfad85c31}} 
\index{Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}!wheel\+Event@{wheel\+Event}}
\index{wheel\+Event@{wheel\+Event}!Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}}
\subsubsection{\texorpdfstring{wheel\+Event()}{wheelEvent()}}
{\footnotesize\ttfamily void Q\+C\+P\+Axis\+Rect\+::wheel\+Event (\begin{DoxyParamCaption}\item[{Q\+Wheel\+Event $\ast$}]{event }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [protected]}, {\ttfamily [virtual]}}

This event is called, if the mouse wheel is scrolled while the cursor is inside the rect of this layout element. 

Reimplemented from \mbox{\hyperlink{class_q_c_p_layout_element_a300521d2fd18a893c1b85f6be11ce2bf}{Q\+C\+P\+Layout\+Element}}.

\mbox{\Hypertarget{class_q_c_p_axis_rect_a204645398a4f9d0b0189385c7c2cfb91}\label{class_q_c_p_axis_rect_a204645398a4f9d0b0189385c7c2cfb91}} 
\index{Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}!width@{width}}
\index{width@{width}!Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}}
\subsubsection{\texorpdfstring{width()}{width()}}
{\footnotesize\ttfamily int Q\+C\+P\+Axis\+Rect\+::width (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}

Returns the pixel width of this axis rect. Margins are not taken into account here, so the returned value is with respect to the inner \mbox{\hyperlink{class_q_c_p_layout_element_a208effccfe2cca4a0eaf9393e60f2dd4}{rect}}. 

The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
\item 
R\+:/\+Develop/a0-\/develop/\+Lib\+Q\+Qt/src/charts/qcustomplot/\mbox{\hyperlink{qcustomplot_8h}{qcustomplot.\+h}}\item 
R\+:/\+Develop/a0-\/develop/\+Lib\+Q\+Qt/src/charts/qcustomplot/\mbox{\hyperlink{qcustomplot_8cpp}{qcustomplot.\+cpp}}\end{DoxyCompactItemize}
